Optimal. Leaf size=173 \[ -\frac{a^{3/2} \tanh ^{-1}\left (\frac{2 a+b x^n}{2 \sqrt{a} \sqrt{a+b x^n+c x^{2 n}}}\right )}{n}-\frac{b \left (b^2-12 a c\right ) \tanh ^{-1}\left (\frac{b+2 c x^n}{2 \sqrt{c} \sqrt{a+b x^n+c x^{2 n}}}\right )}{16 c^{3/2} n}+\frac{\left (8 a c+b^2+2 b c x^n\right ) \sqrt{a+b x^n+c x^{2 n}}}{8 c n}+\frac{\left (a+b x^n+c x^{2 n}\right )^{3/2}}{3 n} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.398101, antiderivative size = 173, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 7, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.318 \[ -\frac{a^{3/2} \tanh ^{-1}\left (\frac{2 a+b x^n}{2 \sqrt{a} \sqrt{a+b x^n+c x^{2 n}}}\right )}{n}-\frac{b \left (b^2-12 a c\right ) \tanh ^{-1}\left (\frac{b+2 c x^n}{2 \sqrt{c} \sqrt{a+b x^n+c x^{2 n}}}\right )}{16 c^{3/2} n}+\frac{\left (8 a c+b^2+2 b c x^n\right ) \sqrt{a+b x^n+c x^{2 n}}}{8 c n}+\frac{\left (a+b x^n+c x^{2 n}\right )^{3/2}}{3 n} \]
Antiderivative was successfully verified.
[In] Int[(a + b*x^n + c*x^(2*n))^(3/2)/x,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 48.8707, size = 151, normalized size = 0.87 \[ - \frac{a^{\frac{3}{2}} \operatorname{atanh}{\left (\frac{2 a + b x^{n}}{2 \sqrt{a} \sqrt{a + b x^{n} + c x^{2 n}}} \right )}}{n} - \frac{b \left (- 12 a c + b^{2}\right ) \operatorname{atanh}{\left (\frac{b + 2 c x^{n}}{2 \sqrt{c} \sqrt{a + b x^{n} + c x^{2 n}}} \right )}}{16 c^{\frac{3}{2}} n} + \frac{\left (a + b x^{n} + c x^{2 n}\right )^{\frac{3}{2}}}{3 n} + \frac{\sqrt{a + b x^{n} + c x^{2 n}} \left (4 a c + \frac{b^{2}}{2} + b c x^{n}\right )}{4 c n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((a+b*x**n+c*x**(2*n))**(3/2)/x,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.720881, size = 161, normalized size = 0.93 \[ -\frac{a^{3/2} \log \left (2 \sqrt{a} \sqrt{a+x^n \left (b+c x^n\right )}+2 a+b x^n\right )}{n}+a^{3/2} \log (x)-\frac{b \left (b^2-12 a c\right ) \log \left (2 \sqrt{c} \sqrt{a+x^n \left (b+c x^n\right )}+b+2 c x^n\right )}{16 c^{3/2} n}+\frac{\sqrt{a+x^n \left (b+c x^n\right )} \left (8 c \left (4 a+c x^{2 n}\right )+3 b^2+14 b c x^n\right )}{24 c n} \]
Antiderivative was successfully verified.
[In] Integrate[(a + b*x^n + c*x^(2*n))^(3/2)/x,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.051, size = 209, normalized size = 1.2 \[{\frac{8\,{c}^{2} \left ({{\rm e}^{n\ln \left ( x \right ) }} \right ) ^{2}+14\,b{{\rm e}^{n\ln \left ( x \right ) }}c+32\,ac+3\,{b}^{2}}{24\,cn}\sqrt{a+b{{\rm e}^{n\ln \left ( x \right ) }}+c \left ({{\rm e}^{n\ln \left ( x \right ) }} \right ) ^{2}}}-{\frac{{b}^{3}}{16\,n}\ln \left ({1 \left ({\frac{b}{2}}+c{{\rm e}^{n\ln \left ( x \right ) }} \right ){\frac{1}{\sqrt{c}}}}+\sqrt{a+b{{\rm e}^{n\ln \left ( x \right ) }}+c \left ({{\rm e}^{n\ln \left ( x \right ) }} \right ) ^{2}} \right ){c}^{-{\frac{3}{2}}}}+{\frac{3\,ab}{4\,n}\ln \left ({1 \left ({\frac{b}{2}}+c{{\rm e}^{n\ln \left ( x \right ) }} \right ){\frac{1}{\sqrt{c}}}}+\sqrt{a+b{{\rm e}^{n\ln \left ( x \right ) }}+c \left ({{\rm e}^{n\ln \left ( x \right ) }} \right ) ^{2}} \right ){\frac{1}{\sqrt{c}}}}-{\frac{1}{n}{a}^{{\frac{3}{2}}}\ln \left ({\frac{1}{{{\rm e}^{n\ln \left ( x \right ) }}} \left ( 2\,a+b{{\rm e}^{n\ln \left ( x \right ) }}+2\,\sqrt{a}\sqrt{a+b{{\rm e}^{n\ln \left ( x \right ) }}+c \left ({{\rm e}^{n\ln \left ( x \right ) }} \right ) ^{2}} \right ) } \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((a+b*x^n+c*x^(2*n))^(3/2)/x,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^(2*n) + b*x^n + a)^(3/2)/x,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.418184, size = 1, normalized size = 0.01 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^(2*n) + b*x^n + a)^(3/2)/x,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a+b*x**n+c*x**(2*n))**(3/2)/x,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (c x^{2 \, n} + b x^{n} + a\right )}^{\frac{3}{2}}}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^(2*n) + b*x^n + a)^(3/2)/x,x, algorithm="giac")
[Out]